<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>test</title>
    <script type="text/javascript" src="../image/static/js/jquery-2.1.1.min.js"></script>
    <script type="text/javascript" src="../image/static/js/viewer.js"></script>
    <link rel="stylesheet" href="../image/static/css/viewer.css"/>
    <script type="text/javascript" src="../image/static/js/jquery-viewer.js"></script>
    <style>
        img{
            height: 200px;
            width: 100%;
        }
    </style>
</head>
<body>
<div>
    <img id="image" src="../image/apply_image/201791102038edaa2f63a20242449f48e513e3212f36.jpg" alt="Picture" style="display: none">
</div>

<div>
    <ul id="images">
        <li><img src="../image/apply_image/201791102038edaa2f63a20242449f48e513e3212f36.jpg" alt="Picture 1"></li>
        <li><img src="../image/apply_image/2018911185753f10fa9d9441d42d5b5774024e4b71059.jpg" alt="Picture 2"></li>
        <li><img src="../image/apply_image/201791800945d6531026da244d63894cb88f4dcc04be.jpg" alt="Picture 3"></li>
    </ul>
</div>

</body>
<script type="text/javascript">
    var $image = $('#image');

    $image.viewer({
        inline: true,
        viewed: function () {
            $image.viewer('zoomTo', 1);
        }
    });

    // Get the Viewer.js instance after initialized
    var viewer = $image.data('viewer');

    // View a list of images
    $('#images').viewer();
</script>
</html>